package ${commonPackage}.convert.${tablePrefix};

import ${commonPackage}.dto.${tablePrefix}.${entityName}AddDTO;
import ${commonPackage}.dto.${tablePrefix}.${entityName}ModifyDTO;
import ${commonPackage}.entity.${tablePrefix}.${entityName};
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * ${tableComment} 转换
 *
 * @author ${username}
 * @date ${createTime}
 */
@Mapper
public interface ${entityName}Convert {

	${entityName}Convert INSTANCE = Mappers.getMapper(${entityName}Convert.class);

	${entityName} addDTO2Entity(${entityName}AddDTO addDTO);

    ${entityName} modifyDTO2Entity(${entityName}ModifyDTO modifyDTO);

}
